Optimal. Leaf size=132 \[ -\frac {161 \left (6+5 x^2\right ) \sqrt {3+5 x^2+x^4}}{5184 x^4}-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{15 x^{10}}-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{36 x^8}+\frac {173 \left (3+5 x^2+x^4\right )^{3/2}}{3240 x^6}+\frac {2093 \tanh ^{-1}\left (\frac {6+5 x^2}{2 \sqrt {3} \sqrt {3+5 x^2+x^4}}\right )}{10368 \sqrt {3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 132, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.240, Rules used = {1265, 848, 820,
734, 738, 212} \begin {gather*} -\frac {161 \left (5 x^2+6\right ) \sqrt {x^4+5 x^2+3}}{5184 x^4}+\frac {2093 \tanh ^{-1}\left (\frac {5 x^2+6}{2 \sqrt {3} \sqrt {x^4+5 x^2+3}}\right )}{10368 \sqrt {3}}-\frac {\left (x^4+5 x^2+3\right )^{3/2}}{15 x^{10}}-\frac {\left (x^4+5 x^2+3\right )^{3/2}}{36 x^8}+\frac {173 \left (x^4+5 x^2+3\right )^{3/2}}{3240 x^6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 734
Rule 738
Rule 820
Rule 848
Rule 1265
Rubi steps
\begin {align*} \int \frac {\left (2+3 x^2\right ) \sqrt {3+5 x^2+x^4}}{x^{11}} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {(2+3 x) \sqrt {3+5 x+x^2}}{x^6} \, dx,x,x^2\right )\\ &=-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{15 x^{10}}-\frac {1}{30} \text {Subst}\left (\int \frac {(-10+4 x) \sqrt {3+5 x+x^2}}{x^5} \, dx,x,x^2\right )\\ &=-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{15 x^{10}}-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{36 x^8}+\frac {1}{360} \text {Subst}\left (\int \frac {(-173-10 x) \sqrt {3+5 x+x^2}}{x^4} \, dx,x,x^2\right )\\ &=-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{15 x^{10}}-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{36 x^8}+\frac {173 \left (3+5 x^2+x^4\right )^{3/2}}{3240 x^6}+\frac {161}{432} \text {Subst}\left (\int \frac {\sqrt {3+5 x+x^2}}{x^3} \, dx,x,x^2\right )\\ &=-\frac {161 \left (6+5 x^2\right ) \sqrt {3+5 x^2+x^4}}{5184 x^4}-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{15 x^{10}}-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{36 x^8}+\frac {173 \left (3+5 x^2+x^4\right )^{3/2}}{3240 x^6}-\frac {2093 \text {Subst}\left (\int \frac {1}{x \sqrt {3+5 x+x^2}} \, dx,x,x^2\right )}{10368}\\ &=-\frac {161 \left (6+5 x^2\right ) \sqrt {3+5 x^2+x^4}}{5184 x^4}-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{15 x^{10}}-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{36 x^8}+\frac {173 \left (3+5 x^2+x^4\right )^{3/2}}{3240 x^6}+\frac {2093 \text {Subst}\left (\int \frac {1}{12-x^2} \, dx,x,\frac {6+5 x^2}{\sqrt {3+5 x^2+x^4}}\right )}{5184}\\ &=-\frac {161 \left (6+5 x^2\right ) \sqrt {3+5 x^2+x^4}}{5184 x^4}-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{15 x^{10}}-\frac {\left (3+5 x^2+x^4\right )^{3/2}}{36 x^8}+\frac {173 \left (3+5 x^2+x^4\right )^{3/2}}{3240 x^6}+\frac {2093 \tanh ^{-1}\left (\frac {6+5 x^2}{2 \sqrt {3} \sqrt {3+5 x^2+x^4}}\right )}{10368 \sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.28, size = 80, normalized size = 0.61 \begin {gather*} \frac {-\frac {3 \sqrt {3+5 x^2+x^4} \left (5184+10800 x^2+1176 x^4-1370 x^6+2641 x^8\right )}{x^{10}}-10465 \sqrt {3} \tanh ^{-1}\left (\frac {x^2-\sqrt {3+5 x^2+x^4}}{\sqrt {3}}\right )}{77760} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.22, size = 152, normalized size = 1.15
method | result | size |
risch | \(-\frac {2641 x^{12}+11835 x^{10}+2249 x^{8}+12570 x^{6}+62712 x^{4}+58320 x^{2}+15552}{25920 x^{10} \sqrt {x^{4}+5 x^{2}+3}}+\frac {2093 \arctanh \left (\frac {\left (5 x^{2}+6\right ) \sqrt {3}}{6 \sqrt {x^{4}+5 x^{2}+3}}\right ) \sqrt {3}}{31104}\) | \(81\) |
trager | \(-\frac {\left (2641 x^{8}-1370 x^{6}+1176 x^{4}+10800 x^{2}+5184\right ) \sqrt {x^{4}+5 x^{2}+3}}{25920 x^{10}}-\frac {2093 \RootOf \left (\textit {\_Z}^{2}-3\right ) \ln \left (-\frac {-5 \RootOf \left (\textit {\_Z}^{2}-3\right ) x^{2}+6 \sqrt {x^{4}+5 x^{2}+3}-6 \RootOf \left (\textit {\_Z}^{2}-3\right )}{x^{2}}\right )}{31104}\) | \(89\) |
elliptic | \(\frac {137 \sqrt {x^{4}+5 x^{2}+3}}{2592 x^{4}}-\frac {2641 \sqrt {x^{4}+5 x^{2}+3}}{25920 x^{2}}+\frac {2093 \arctanh \left (\frac {\left (5 x^{2}+6\right ) \sqrt {3}}{6 \sqrt {x^{4}+5 x^{2}+3}}\right ) \sqrt {3}}{31104}-\frac {\sqrt {x^{4}+5 x^{2}+3}}{5 x^{10}}-\frac {5 \sqrt {x^{4}+5 x^{2}+3}}{12 x^{8}}-\frac {49 \sqrt {x^{4}+5 x^{2}+3}}{1080 x^{6}}\) | \(117\) |
default | \(-\frac {\left (x^{4}+5 x^{2}+3\right )^{\frac {3}{2}}}{36 x^{8}}+\frac {173 \left (x^{4}+5 x^{2}+3\right )^{\frac {3}{2}}}{3240 x^{6}}-\frac {161 \left (x^{4}+5 x^{2}+3\right )^{\frac {3}{2}}}{2592 x^{4}}+\frac {805 \left (x^{4}+5 x^{2}+3\right )^{\frac {3}{2}}}{15552 x^{2}}-\frac {2093 \sqrt {x^{4}+5 x^{2}+3}}{31104}+\frac {2093 \arctanh \left (\frac {\left (5 x^{2}+6\right ) \sqrt {3}}{6 \sqrt {x^{4}+5 x^{2}+3}}\right ) \sqrt {3}}{31104}-\frac {805 \left (2 x^{2}+5\right ) \sqrt {x^{4}+5 x^{2}+3}}{31104}-\frac {\left (x^{4}+5 x^{2}+3\right )^{\frac {3}{2}}}{15 x^{10}}\) | \(152\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 133, normalized size = 1.01 \begin {gather*} \frac {2093}{31104} \, \sqrt {3} \log \left (\frac {2 \, \sqrt {3} \sqrt {x^{4} + 5 \, x^{2} + 3}}{x^{2}} + \frac {6}{x^{2}} + 5\right ) + \frac {161}{2592} \, \sqrt {x^{4} + 5 \, x^{2} + 3} + \frac {805 \, \sqrt {x^{4} + 5 \, x^{2} + 3}}{5184 \, x^{2}} - \frac {161 \, {\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {3}{2}}}{2592 \, x^{4}} + \frac {173 \, {\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {3}{2}}}{3240 \, x^{6}} - \frac {{\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {3}{2}}}{36 \, x^{8}} - \frac {{\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac {3}{2}}}{15 \, x^{10}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 100, normalized size = 0.76 \begin {gather*} \frac {10465 \, \sqrt {3} x^{10} \log \left (\frac {25 \, x^{2} + 2 \, \sqrt {3} {\left (5 \, x^{2} + 6\right )} + 2 \, \sqrt {x^{4} + 5 \, x^{2} + 3} {\left (5 \, \sqrt {3} + 6\right )} + 30}{x^{2}}\right ) - 15846 \, x^{10} - 6 \, {\left (2641 \, x^{8} - 1370 \, x^{6} + 1176 \, x^{4} + 10800 \, x^{2} + 5184\right )} \sqrt {x^{4} + 5 \, x^{2} + 3}}{155520 \, x^{10}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (3 x^{2} + 2\right ) \sqrt {x^{4} + 5 x^{2} + 3}}{x^{11}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 255 vs.
\(2 (106) = 212\).
time = 3.19, size = 255, normalized size = 1.93 \begin {gather*} -\frac {2093}{31104} \, \sqrt {3} \log \left (\frac {x^{2} + \sqrt {3} - \sqrt {x^{4} + 5 \, x^{2} + 3}}{x^{2} - \sqrt {3} - \sqrt {x^{4} + 5 \, x^{2} + 3}}\right ) + \frac {10465 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{9} - 42830 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{7} + 1270080 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{6} + 7060800 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{5} + 15310080 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{4} + 16095870 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{3} + 7568640 \, {\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{2} + 1096335 \, x^{2} - 1096335 \, \sqrt {x^{4} + 5 \, x^{2} + 3} + 202176}{25920 \, {\left ({\left (x^{2} - \sqrt {x^{4} + 5 \, x^{2} + 3}\right )}^{2} - 3\right )}^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (3\,x^2+2\right )\,\sqrt {x^4+5\,x^2+3}}{x^{11}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________